package com.sunyur.tailor.channel.service.inner.returnorder.service;

import com.sunyur.tailor.channel.common.middle.base.ChannelListResult;
import com.sunyur.tailor.channel.common.middle.base.ChannelResult;
import com.sunyur.tailor.channel.service.inner.returnorder.model.CreateReturnOrderModel;
import com.sunyur.tailor.channel.service.inner.returnorder.model.ReturnOrderHeadModel;
import com.sunyur.tailor.channel.service.inner.returnorder.model.ReturnOrderItemModel;
import com.sunyur.tailor.channel.service.inner.returnorder.param.CreateReturnOrderParam;
import com.sunyur.tailor.channel.service.inner.returnorder.param.ReturnOrderHeadParam;
import com.sunyur.tailor.channel.service.inner.returnorder.param.ReturnOrderItemParam;

/**
 * @ClassName SunyurReceiveOrderService
 * @Description 商越收货单接口
 * @Author yu.chen
 * @Date 2021/4/29 3:02
 * @Version v1.0
 */
public interface SunyurReturnOrderService {

    /**
     * @return com.sunyur.tailor.channel.common.middle.base.ChannelResult<com.sunyur.tailor.channel.service.inner.returnorder.model.CreateReturnOrderModel>
     * @Author pengbing
     * @Description //退货单创建
     * @Date 14:02 2021/6/8
     * @Param [createReceiveOrderParam]
     **/
    ChannelResult<CreateReturnOrderModel> createReturnOrder(CreateReturnOrderParam createReturnOrderParam) throws Exception;

    /**
     * @Author XuHui
     * @Description 402-退货-获取退货单头信息【已上线】http://doc.sunyur.com/pages/viewpage.action?pageId=53739929
     * @Date 16:04 2021/10/8
     **/
    ChannelResult<ReturnOrderHeadModel> getReturnOrder(ReturnOrderHeadParam returnOrderHeadParam);

    /**
     * @Author XuHui
     * @Description 403-退货-获取退货单行信息【已上线】http://doc.sunyur.com/pages/viewpage.action?pageId=53739931
     * @Date 16:04 2021/10/8
     **/
    ChannelListResult<ReturnOrderItemModel> listReturnOrderItem(ReturnOrderItemParam returnOrderItemParam);
}
